//
//  TDMessageTableViewController.swift
//  微博
//
//  Created by tong dan on 16/2/29.
//  Copyright © 2016年 tong dan. All rights reserved.
//

import UIKit

class TDMessageTableViewController: TDVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if visitorView  != nil{
            
            visitorView?.setInfo("visitordiscover_image_message", message: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
            
            return
        }
 
        
        
        setupUI()
        
    }

    private func setupUI(){
    
    navigationItem.leftBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "findGroup")
    
    
    }
    
    @objc private func findGroup(){
    
    let vc = TDTempViewController()
        navigationController?.pushViewController(vc, animated: true)
    
    }

}
